#include <iostream>

using namespace std;



//If you want to check this code, you must erase comment marks ('/*' and '*/')







//=================================<Homework 3-1>=================================

/*
void main()
{
	int x;
	cout<<"\nWrite a integer ===> ";
	cin>>x;
	
	cout<<"You wrote "<<x<<"\n";

	if(x>0)
		cout<<x<<" is positive number. \n";
	else if(x<0)
		cout<<x<<" is negative number. \n";
	else
		cout<<x<<" is zero. \n";
}
*/


//=================================<Homework 3-2>=================================


/*
void main()
{
	int a,b;
	cout<<"\nWrite two integers. ===> ";
	cin>>a;
	cin>>b;
	
	cout<<"You wrote "<<a<<" and "<<b<<"\n";

	if(a>b)
		cout<<a<<" is bigger than "<<b<<". \n";	
	else
		cout<<b<<" is bigger than "<<a<<". \n";	
}
*/


//=================================<Homework 3-3>=================================


/*
void main()
{
	int sum=0,x;
	
	cout<<"this machine calculate sum of even number of 1 to 100.\n\n";
	
	for(x=1;x<=100;x++)
	{
		if(x%2==0)
		{
			cout<<x<<" ";
			sum=sum+x;

		}
	}
	cout<<"\n\nSum of these numbers is " <<sum<<"\n";
}
*/


//=================================<Homework 3-4>=================================


/*
void main()
{
	char a;
	cout<<"This machine print all Capital letters of alphabet.\n";
	for(a='A';a<='Z';a++)
		cout<<a<<" ";
	cout<<"\n";
}
*/


//=================================<Homework 3-5>=================================


/*
void main()
{
	int fac,x,y;
	cout<<"This machine find factorial of 1 to 10.\n";
	for(x=1;x<=10;x++)
	{
	fac=1;
		for(y=1;y<=x;y++)
			fac=fac*y;
	cout<<" "<<x<<"! = "<<fac<<"\n";	
	}
}
*/

//================================================================================